home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 1.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 36 3a 34 39 20 31 | 39 39 38 0a 3b 3b 3b 20 |:46:49 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 63 | 75 73 74 6f 6d 2f 77 69 |3/lisp/c|ustom/wi|
|000000a0| 64 67 65 74 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |dget.el.|;;; emac|
|000000b0| 73 20 76 65 72 73 69 6f | 6e 20 32 30 2e 33 20 22 |s versio|n 20.3 "|
|000000c0| 56 61 74 69 63 61 6e 20 | 43 69 74 79 22 20 58 45 |Vatican |City" XE|
|000000d0| 6d 61 63 73 20 20 4c 75 | 63 69 64 2e 0a 3b 3b 3b |macs Lu|cid..;;;|
|000000e0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000f0| 6e 20 32 2e 32 35 20 58 | 45 6d 61 63 73 3b 20 32 |n 2.25 X|Emacs; 2|
|00000100| 32 2d 4d 61 72 2d 39 36 | 2e 0a 3b 3b 3b 20 6f 70 |2-Mar-96|..;;; op|
|00000110| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|00000120| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|00000130| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|00000140| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000150| 69 6e 20 45 6d 61 63 73 | 20 31 39 2e 0a 0a 28 69 |in Emacs| 19...(i|
|00000160| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000170| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000180| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000190| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|000001a0| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|000001b0| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|000001c0| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|000001d0| 73 69 6f 6e 20 22 32 30 | 22 29 29 29 0a 20 20 20 |sion "20|"))). |
|000001e0| 20 28 65 72 72 6f 72 20 | 22 60 77 69 64 67 65 74 | (error |"`widget|
|000001f0| 2e 65 6c 27 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |.el' was| compile|
|00000200| 64 20 66 6f 72 20 45 6d | 61 63 73 20 32 30 22 29 |d for Em|acs 20")|
|00000210| 29 0a 0a 28 6f 72 20 28 | 62 6f 75 6e 64 70 20 27 |)..(or (|boundp '|
|00000220| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00000230| 74 29 20 28 73 65 74 71 | 20 63 75 72 72 65 6e 74 |t) (setq| current|
|00000240| 2d 6c 6f 61 64 2d 6c 69 | 73 74 20 6e 69 6c 29 29 |-load-li|st nil))|
|00000250| 0a 0a 0a 23 40 34 39 20 | 54 68 69 73 20 64 6f 65 |...#@49 |This doe|
|00000260| 73 6e 27 74 20 64 6f 20 | 61 6e 79 74 68 69 6e 67 |sn't do |anything|
|00000270| 20 69 6e 20 45 6d 61 63 | 73 20 32 30 20 6f 72 20 | in Emac|s 20 or |
|00000280| 58 45 6d 61 63 73 2e 1f | 0a 28 64 65 66 61 6c 69 |XEmacs..|.(defali|
|00000290| 61 73 20 27 64 65 66 69 | 6e 65 2d 77 69 64 67 65 |as 'defi|ne-widge|
|000002a0| 74 2d 6b 65 79 77 6f 72 | 64 73 20 27 28 6d 61 63 |t-keywor|ds '(mac|
|000002b0| 72 6f 20 2e 20 23 5b 28 | 26 72 65 73 74 20 6b 65 |ro . #[(|&rest ke|
|000002c0| 79 73 29 20 22 c0 c1 c2 | c3 0c 44 44 43 c5 42 42 |ys) "...|..DDC.BB|
|000002d0| 44 87 22 20 5b 65 76 61 | 6c 2d 61 6e 64 2d 63 6f |D." [eva|l-and-co|
|000002e0| 6d 70 69 6c 65 20 6c 65 | 74 20 6b 65 79 77 6f 72 |mpile le|t keywor|
|000002f0| 64 73 20 71 75 6f 74 65 | 20 6b 65 79 73 20 28 28 |ds quote| keys ((|
|00000300| 77 68 69 6c 65 20 6b 65 | 79 77 6f 72 64 73 20 28 |while ke|ywords (|
|00000310| 6f 72 20 28 62 6f 75 6e | 64 70 20 28 63 61 72 20 |or (boun|dp (car |
|00000320| 6b 65 79 77 6f 72 64 73 | 29 29 20 28 73 65 74 20 |keywords|)) (set |
|00000330| 28 63 61 72 20 6b 65 79 | 77 6f 72 64 73 29 20 28 |(car key|words) (|
|00000340| 63 61 72 20 6b 65 79 77 | 6f 72 64 73 29 29 29 20 |car keyw|ords))) |
|00000350| 28 73 65 74 71 20 6b 65 | 79 77 6f 72 64 73 20 28 |(setq ke|ywords (|
|00000360| 63 64 72 20 6b 65 79 77 | 6f 72 64 73 29 29 29 29 |cdr keyw|ords))))|
|00000370| 5d 20 35 20 28 23 24 20 | 2e 20 36 30 30 29 5d 29 |] 5 (#$ |. 600)])|
|00000380| 29 0a 23 40 34 30 33 20 | 44 65 66 69 6e 65 20 61 |).#@403 |Define a|
|00000390| 20 6e 65 77 20 77 69 64 | 67 65 74 20 74 79 70 65 | new wid|get type|
|000003a0| 20 6e 61 6d 65 64 20 4e | 41 4d 45 20 66 72 6f 6d | named N|AME from|
|000003b0| 20 43 4c 41 53 53 2e 0a | 0a 4e 41 4d 45 20 61 6e | CLASS..|.NAME an|
|000003c0| 64 20 43 4c 41 53 53 20 | 73 68 6f 75 6c 64 20 62 |d CLASS |should b|
|000003d0| 6f 74 68 20 62 65 20 73 | 79 6d 62 6f 6c 73 2c 20 |oth be s|ymbols, |
|000003e0| 43 4c 41 53 53 20 73 68 | 6f 75 6c 64 20 62 65 20 |CLASS sh|ould be |
|000003f0| 6f 6e 65 20 6f 66 20 74 | 68 65 0a 65 78 69 73 74 |one of t|he.exist|
|00000400| 69 6e 67 20 77 69 64 67 | 65 74 20 74 79 70 65 73 |ing widg|et types|
|00000410| 2c 20 6f 72 20 6e 69 6c | 20 74 6f 20 63 72 65 61 |, or nil| to crea|
|00000420| 74 65 20 74 68 65 20 77 | 69 64 67 65 74 20 66 72 |te the w|idget fr|
|00000430| 6f 6d 20 73 63 72 61 74 | 63 68 2e 0a 0a 41 66 74 |om scrat|ch...Aft|
|00000440| 65 72 20 74 68 65 20 6e | 65 77 20 77 69 64 67 65 |er the n|ew widge|
|00000450| 74 20 68 61 73 20 62 65 | 65 6e 20 64 65 66 69 6e |t has be|en defin|
|00000460| 65 64 2c 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ed, the |followin|
|00000470| 67 20 74 77 6f 20 63 61 | 6c 6c 73 20 77 69 6c 6c |g two ca|lls will|
|00000480| 0a 63 72 65 61 74 65 20 | 69 64 65 6e 74 69 63 61 |.create |identica|
|00000490| 6c 20 77 69 64 67 65 74 | 73 3a 0a 0a 2a 20 28 77 |l widget|s:..* (w|
|000004a0| 69 64 67 65 74 2d 63 72 | 65 61 74 65 20 4e 41 4d |idget-cr|eate NAM|
|000004b0| 45 29 0a 0a 2a 20 28 61 | 70 70 6c 79 20 27 77 69 |E)..* (a|pply 'wi|
|000004c0| 64 67 65 74 2d 63 72 65 | 61 74 65 20 43 4c 41 53 |dget-cre|ate CLAS|
|000004d0| 53 20 41 52 47 53 29 0a | 0a 54 68 65 20 74 68 69 |S ARGS).|.The thi|
|000004e0| 72 64 20 61 72 67 75 6d | 65 6e 74 20 44 4f 43 20 |rd argum|ent DOC |
|000004f0| 69 73 20 61 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |is a doc|umentati|
|00000500| 6f 6e 20 73 74 72 69 6e | 67 20 66 6f 72 20 74 68 |on strin|g for th|
|00000510| 65 20 77 69 64 67 65 74 | 2e 1f 0a 28 64 65 66 61 |e widget|...(defa|
|00000520| 6c 69 61 73 20 27 64 65 | 66 69 6e 65 2d 77 69 64 |lias 'de|fine-wid|
|00000530| 67 65 74 20 23 5b 28 6e | 61 6d 65 20 63 6c 61 73 |get #[(n|ame clas|
|00000540| 73 20 64 6f 63 20 26 72 | 65 73 74 20 61 72 67 73 |s doc &r|est args|
|00000550| 29 20 22 c0 09 c2 0b 0c | 42 23 88 c0 09 c5 0e 06 |) ".....|B#......|
|00000560| 23 88 09 87 22 20 5b 70 | 75 74 20 6e 61 6d 65 20 |#..." [p|ut name |
|00000570| 77 69 64 67 65 74 2d 74 | 79 70 65 20 63 6c 61 73 |widget-t|ype clas|
|00000580| 73 20 61 72 67 73 20 77 | 69 64 67 65 74 2d 64 6f |s args w|idget-do|
|00000590| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 64 6f 63 5d |cumentat|ion doc]|
|000005a0| 20 35 20 28 23 24 20 2e | 20 39 30 34 29 5d 29 0a | 5 (#$ .| 904)]).|
|000005b0| 28 70 72 6f 76 69 64 65 | 20 27 77 69 64 67 65 74 |(provide| 'widget|
|000005c0| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+